/* 数据概览卡片样式 */
.data-overview-card {
  border-radius: 12px;
  padding: 16px 24px;
  transition: all 0.3s ease;
  flex-grow: 1;
}

.overview-title {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  margin-bottom: 16px;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.overview-stat-item {
  background: rgba(10, 25, 47, 0.5);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.overview-stat-item:hover {
  background: rgba(10, 25, 47, 0.7);
  transform: translateY(-1px);
}

.overview-icon {
  font-size: 20px;
  margin-bottom: 8px;
  display: block;
}

.overview-icon-primary {
  color: rgba(59, 130, 246, 0.7);
}

.overview-icon-secondary {
  color: rgba(139, 92, 246, 0.7);
}

.overview-icon-accent {
  color: rgba(6, 182, 212, 0.7);
}

.overview-icon-other {
  color: rgba(148, 163, 184, 0.7);
}

.overview-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  margin-bottom: 4px;
}

.overview-number {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-primary);
  margin: 0;
}

.overview-footer {
  margin-top: 6px;
  padding-top: 4px;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.overview-update-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.update-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.update-time {
  font-size: 12px;
  color: var(--secondary-color);
}

.overview-progress-bar {
  width: 100%;
  height: 6px;
  background-color: var(--bg-dark);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.overview-progress-fill {
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease-in-out;
}

.overview-status {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  text-align: center;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .overview-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .overview-stat-item {
    padding: 8px;
  }

  .overview-icon {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .overview-number {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .overview-stats {
    grid-template-columns: 1fr;
  }

  .overview-update-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
